package com.fahai.web.dao;

import com.fahai.common.CommonMapper;
import com.fahai.web.entity.SysUser;
import com.fahai.web.vo.SysUserVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysUserDao extends CommonMapper<SysUser> {


    public SysUser selectByUserName(String username);

    public List<SysUserVo> selectAllSysUser();

    public void updateBySinglePK(SysUser sysUser);

    public void insertBySinglePk(SysUser sysUser);


    public List<Map<String,Object>> selectUserList();

    public Long selectUserCount();

    public Long selectUserByNameCount(String userName);




}